Skip to main content

Approve KYC request

POST /api/v{version}/Kyc/approve

Description

This endpoint is used to approve a KYC (Know Your Customer) request. The approval process involves submitting the approver's ID and the KYC ID to be approved.

Parameters

  • version (string, path, required): The version of the API.
  • Accept-Language (string, header, optional): Change the default response message language from English (en). Available languages are fr and en.

Request Body

  • Media Type: application/json

Example Value

{
"by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"kycId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Responses

This section outlines the possible responses from the KYC approval API.

Success Response (200)

The Success Response (200) is returned when the KYC request is successfully approved. This response indicates the success of the operation and provides additional details.

Response Fields

FieldTypeDescription
succeededbooleanIndicates the success of the KYC approval request.
messagestringA message indicating the outcome of the operation.
errorsarrayAn array of strings providing details about any errors encountered during the request.
dataobjectContains the details of the approved KYC.

Data Object Fields

FieldTypeDescription
idstringThe ID of the approved KYC.
tierstringThe tier of the KYC.
namestringThe name associated with the KYC.
tenantIdstringThe ID of the tenant.
ownerIdstringThe ID of the owner.
approvedbooleanIndicates if the KYC is approved.
isTenantbooleanIndicates if the KYC is for a tenant.
isAddressVerifiedbooleanIndicates if the address is verified.
approvedOnstringThe date and time when the KYC was approved (in ISO 8601 format).
bvnstringThe Bank Verification Number (BVN) associated with the KYC.
statusstringThe status of the KYC.

Example Value

{
"succeeded": true,
"message": "string",
"errors": [
"string"
],
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tier": "string",
"name": "string",
"tenantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ownerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"approved": true,
"isTenant": true,
"isAddressVerified": true,
"approvedOn": "2024-08-07T09:32:01.625Z",
"bvn": "string",
"status": "string"
}
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request Post \ 
--url /api/v1/Kyc/approve \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!